<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title>验证码邮件</title>
    <style>
        body {
            font-family: "Source Han Sans CN",
            "Microsoft YaHei",
            "PingFang SC",
            Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f3f4f6;
        }

        .bottom {
            max-width: 600px;
            margin: 20px auto;
            display: flex;
            justify-content: center;
            align-items: center;
            padding-bottom: 10px;
        }

        .container {
            width: 600px;
            background-image: linear-gradient(to bottom right,
            #91defe,
            #99c0f9,
            #bdb6ec,
            #d7b3e3,
            #efb3d5,
            #f9bccc);
            border-radius: 20px;
            position: relative;
        }

        .content {
            text-align: center;
        }

        .glass {
            border-radius: 20px;
            background-color: rgb(255, 255, 255, 0.35);
        }

        .title {
            padding-top: 40px;
            text-align: center;
            font-size: 36px;
            color: #1E1E1E;
        }

        .annotation {
            margin-top: 10px;
            font-size: 14px;
            color: #525252;
            margin-bottom: 20px;
        }

        .margins {
            margin-left: 70px;
            margin-right: 70px;
        }

        .text {
            font-size: 14px;
            text-align: start;
            color: #1E1E1E;
        }

        .code {
            background-color: rgba(255, 255, 255, 0.9);
            font-size: 30px;
            letter-spacing: 10px;
            height: 80px;
            width: 245px;
            border-radius: 20px;
            margin: 40px auto 30px auto;
            text-align: center;
            line-height: 80px;
            box-shadow: 0 0 2px 1px rgb(0, 0, 0, 0.25);
        }

        .tips {
            font-size: 14px;
            text-align: left;
            margin-top: 10px;
            padding-bottom: 40px;
            color: #1E1E1E;
        }

        .tips ul {
            padding-left: 25px;
            list-style-position: inside;
            margin: 0;
        }

        .tips li {
            line-height: 20px;
            text-align: start;
        }

        @media (max-width: 600px) {
            .container {
                width: 600px;
                background-image: linear-gradient(to bottom right,
                #91defe,
                #99c0f9,
                #bdb6ec,
                #d7b3e3,
                #efb3d5,
                #f9bccc);
                border-radius: 20px;
            }

            .content {
                text-align: center;
            }

            .glass {
                border-radius: 10px;
                background-color: rgb(255, 255, 255, 0.35);
            }

            .title {
                padding-top: 20px;
                text-align: center;
                font-size: 16px;
                color: #0A0A0A;
            }

            .annotation {
                margin-top: 10px;
                font-size: 11px;
                color: #525252;
                margin-bottom: 10px;
            }

            .margins {
                margin-left: 40px;
                margin-right: 40px;
            }

            .text {
                font-size: 11px;
                text-align: start;
                color: #1E1E1E;
            }

            .code {
                background-color: rgba(255, 255, 255, 0.9);
                font-size: 16px;
                letter-spacing: 5px;
                height: 50px;
                width: 120px;
                border-radius: 10px;
                margin: 15px auto 15px auto;
                text-align: center;
                line-height: 50px;
                box-shadow: 0 0 2px 1px rgb(0, 0, 0, 0.25);
            }

            .tips {
                font-size: 11px;
                text-align: left;
                padding-bottom: 25px;
                color: #1E1E1E;
            }

            .tips ul {
                padding-left: 25px;
                list-style-position: inside;
                margin: 0;
            }

            .tips li {
                line-height: 20px;
                text-align: start;
            }
        }
    </style>
</head>

<body>
<div class="bottom">
    <div class="container">
        <div class="glass">
            <div class="content">
                <div class="title">interact</div>
                <div class="annotation">您的语言冒险即将开始—先通过安全验证吧~</div>
                <div class="margins">
                    <div class="text">您的专属验证码已加密生成：</div>
                    <div class="code" th:text="${code}">123456</div>
                    <div class="tips">安全须知：
                        <ul>
                            <li>此验证码<span th:text="${timeout}">10</span>分钟内有效，超时需重新获取。</li>
                            <li>请勿分享给任何人，包括客服（我们绝不会索要！）</li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>

</html>